package com.roadjava.javaweb.student.service;

import com.roadjava.javaweb.student.beans.entity.ScoreDO;
import com.roadjava.javaweb.student.beans.entity.StudentDO;
import com.roadjava.javaweb.student.beans.req.StudentRequest;
import com.roadjava.javaweb.student.beans.res.ResultDTO;
import com.roadjava.javaweb.student.beans.res.TableResult;
import com.roadjava.javaweb.student.beans.vo.ScoreVO;
import com.roadjava.javaweb.student.beans.vo.StudentVO;

import java.util.List;

public interface ScoreService {
    boolean addScore(ScoreDO scoreDO);

    ResultDTO<TableResult<ScoreVO>> queryScoreByPage(StudentRequest studentRequest);

    ResultDTO<ScoreVO> getScoreById(long scoreId);

    boolean updateScore(ScoreDO scoreDO);

    boolean deleteScoreById(long scoreId);
}
